//
//  NSObject+KVO.h
//  KVO
//
//  Created by jun on 2021/2/3.
//
//  Build Settings -> Enable Strict Checking of objc_msgSend Calls 为 NO


#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^KCKVOBlock)(id observer,NSString *keyPath,id oldValue,id newValue);

@interface NSObject (KVO)

- (void)lg_addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath;

- (void)lg_removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath;

@end

NS_ASSUME_NONNULL_END
